package springboot.dao;

import org.apache.ibatis.annotations.Mapper;
import springboot.doMain.Staff;

import java.util.List;
import java.util.Map;

@Mapper
public interface StaffDao {

    List<Staff> sel_all_engineer();

    Staff selectByName(String username);

    List<Map<String,Object>> selEngineerByDepartment(String department);
}